package com.pub.dbo.dao;

import java.util.Vector;

import com.pub.dbo.domain.Proxy;

public interface ProxyDAO 
{
	/**
	 * @param task
	 * @return task ID
	 */
	public int insert(Proxy proxy);
	
	/**
	 * @param task
	 * @return
	 */
	public int update(Proxy proxy);
	
	public Vector<Proxy> getList();
	
	public Vector<Proxy> getList(int limit);
	
	public Vector<Proxy> getWaitAuthList();
	
	/**
	 * release all resource: DB ...
	 */
	public void close();
}
